Release 10.1A: OpenEdge Development:
ADM and SmartObjects
SmartDataObject instance properties
Figure 2–2 shows the SmartDataObject Properties dialog box.
Figure 2–2: SmartDataObject Properties dialog box
![]()
You use the properties in this dialog box as follows:
- Partition — This is the name of a partition: a logical grouping of one or more Progress procedures; for example, a set of procedures for managing inventory. The Partition Deployment Tool maps a partition to an Application Service, which defines where the SmartDataObject runs (which could be on an AppServer™).
- Rows To Batch — This is the number of rows to retrieve at a time from the data source and be stored by the client. The AppBuilder assigns the specified value to the
RowsToBatchproperty. The default is 200.- Check Current Changed — If this is checked, Progress checks on update whether records in the data source were changed since they were retrieved by this instance of the SmartDataObject. The AppBuilder sets the value for the
CheckCurrentChangedproperty toYESif this toggle box is checked; otherwise,NO. The default isYES.- Rebuild Dataset on Reposition — If this is checked, Progress rebuilds the temp-table on reposition starting with the specified record. If unchecked, the temp-table is rebuilt starting from the beginning of the data set. The AppBuilder sets the value for the
RebuildOnReposproperty toYESif this toggle box is checked; otherwise,NO. The default isNO.- Force to Stateful Operating Mode — If this is checked, the SmartDataObject runs in state-aware mode regardless of the AppServer’s operating mode. If unchecked, the SmartDataObject inherits its operating mode from the AppServer. The default is
NO.Note: This property is disabled when the SmartDataObject Properties dialog box is used for non-Web SmartDataObjects.- Destroy on each stateless Web Request — If checked, this destroys the SmartDataObject between requests. The default (unchecked) behavior is to keep the SmartDataObject alive between requests. Checking this property disables the Disconnect AppServer on each Web Request property.
Note: This property is disabled when Destroy on each stateless Web Request is checked. It also is disabled when the SmartDataObject Properties dialog box is used for non-Web SmartDataObjects.- Disconnect AppServer on each Web Request — If checked, this specifies that the AppServer part of the SmartDataObject is destroyed on each request but the client part remains alive. This allows you to use the
ForcetoStatefulOperatingModeproperty without locking the AppServer for the lifetime of the SmartDataObject.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |